package cn.com.wangluotongxin.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 网络通信-管理端-用户表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("admin_user")
@ApiModel(value = "AdminUser对象", description = "网络通信-管理端-用户表")
public class AdminUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("头像")
    private String headImage;

    @ApiModelProperty("账号级别：1.普通账号 2.管理账号")
    private Integer userLevel;

    @ApiModelProperty("最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty("TCP通道ID")
    private String channelId;

    @ApiModelProperty("在线状态 0.离线 1.在线")
    private Integer isOnline;

    @ApiModelProperty("启用状态：0.禁用 1.启用")
    private Integer isEnabled;

    @ApiModelProperty("删除状态：0.未删除 1.已删除")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
